//
//  SystemHelper.h
//  BSOrange
//
//  Created by kenshin on 14-9-1.
//  Copyright (c) 2014年 BazzarEntertainment. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SystemHelper : NSObject

+(SystemHelper *)sharedInstance;

+ (NSString *)appVersion;
+ (NSString *)appBuildVersion;
+ (NSString *)appName;
+ (NSString *)osVersion;

+ (NSString *)buildFileNameByCurrentTimeAndUUID;


+ (void)OpenURL:(NSString*)url;


/**
 *  初始化UserDefaults设置
 */
+ (void)registerUserDefaults;


/**
 *  预加载图片
 *
 *  @param url 图片url
 */
+ (void)preloadImages:(NSArray *)url;
+ (void)preloadImage:(NSString *)urlString;

+ (void)presentLoginViewController;
+ (BOOL)checkAndShowLoginViewControllerIfNotLogin;

@end
